Document Solutions for PDF
DS.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / GcWicBitmap Constructor / GcWicBitmap Constructor(Byte[],Int32,Nullable<Rectangle>)
The image data. JPEG, PNG, GIF, BMP, TIFF, ICO, JPEG XR formats are supported.
Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
Clipping rectangle of the image to be loaded.

In This Topic
    GcWicBitmap Constructor(Byte[],Int32,Nullable<Rectangle>)
    In This Topic
    Initializes a new instance of the GcWicBitmap class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal bytes() As System.Byte, _
       Optional ByVal frameIndex As System.Integer, _
       Optional ByVal imageRect As System.Nullable(Of Rectangle) _
    )
    public GcWicBitmap( 
       System.byte[] bytes,
       System.int frameIndex,
       System.Nullable<Rectangle> imageRect
    )

    Parameters

    bytes
    The image data. JPEG, PNG, GIF, BMP, TIFF, ICO, JPEG XR formats are supported.
    frameIndex
    Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
    imageRect
    Clipping rectangle of the image to be loaded.
    See Also